import {
    createMemoryHistory,
    createRouter,
    createWebHistory,
    RouteRecordRaw,
} from 'vue-router';

import Index from '@/view/index.vue';

const routes: RouteRecordRaw[] = [
    { path: '/', component: Index },
];

const router = createRouter({
    history: createMemoryHistory(),
    // history: createWebHistory(),
    routes,
});

export default router;
